using Common.Communal;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace Sell.Api.Write.Application.Command.SalesManagementCommand
{
    public class VerificationUpdateReviewStatusCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 核价单ID
        /// </summary>
        [Required(ErrorMessage = "核价单ID不能为空")]
        public int Id { get; set; }
        
        /// <summary>
        /// 审核状态 (0-未审核, 1-已审核)
        /// </summary>
        [Required(ErrorMessage = "审核状态不能为空")]
        [Range(0, 1, ErrorMessage = "审核状态值无效，有效值：0-未审核, 1-已审核")]
        public int ReviewStatus { get; set; }
    }
}

